﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Day04Night
{
    public class Castle : IDamage
    {
      
        public IPerson Person { get; set; }
        public void Damage()
        {
            Console.WriteLine("城堡受伤");
            Person.SoundAlarm();
        }
    }
}